.layui-m-layer {
  position: relative;
  z-index: 19891014;
  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'microsoft yahei', Verdana, Arial, Helvetica, sans-serif;
  }
}

.layui-m-layermain {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.layui-m-layershade {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.layui-m-layermain {
  display: table;
  font-family: Helvetica, arial, sans-serif;
  pointer-events: none;
  .layui-m-layersection {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
  }
}

.layui-m-layerchild {
  position: relative;
  display: inline-block;
  text-align: left;
  font-size: 0.24rem;
  border-radius: 0.12rem;
  background: #fff;
  box-shadow: 0 0 0.08rem rgba(0, 0, 0, 0.1);
  pointer-events: auto;
  -webkit-overflow-scrolling: touch;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-duration: .2s;
  animation-duration: .2s;
}

@-webkit-keyframes layui-m-anim-scale {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


@keyframes layui-m-anim-scale {
  0% {
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
  }

  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}


.layui-m-anim-scale {
  animation-name: layui-m-anim-scale;
  -webkit-animation-name: layui-m-anim-scale;
}

@-webkit-keyframes layui-m-anim-up {
  0% {
    opacity: 0;
    -webkit-transform: translateY(8rem);
    transform: translateY(8rem);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}


@keyframes layui-m-anim-up {
  0% {
    opacity: 0;
    -webkit-transform: translateY(8rem);
    transform: translateY(8rem);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}


.layui-m-anim-up {
  -webkit-animation-name: layui-m-anim-up;
  animation-name: layui-m-anim-up;
}

.layui-m-layer0 .layui-m-layerchild {
  width: 95%;
  /*max-width: 6.4rem;*/
}

.layui-m-layer1 .layui-m-layerchild {
  border: none;
  border-radius: 0;
}

.layui-m-layer2 .layui-m-layerchild {
  width: auto;
  max-width: 2.6rem;
  min-width: 0.4rem;
  border: none;
  background: 0 0;
  box-shadow: none;
  color: #fff;
}

.layui-m-layerchild h3 {
  padding: 0 0.1rem;
  height: 0.6rem;
  line-height: 0.6rem;
  font-size: 0.26rem;
  font-weight: 400;
  border-radius: 0.05rem 0.05rem 0 0;
  text-align: center;
}

.layui-m-layerbtn span, .layui-m-layerchild h3 {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.layui-m-layercont {
  font-size: .44rem;
  border-radius: 0.12rem;
}

.layui-m-layer1 .layui-m-layercont {
  padding: 0;
  text-align: left;
}

.layui-m-layer2 .layui-m-layercont {
  text-align: center;
  padding: 0;
  line-height: 0;
  i {
    width: 0.25rem;
    height: 0.25rem;
    margin-left: 0.08rem;
    display: inline-block;
    background-color: #fff;
    border-radius: 100%;
    -webkit-animation: layui-m-anim-loading 1.4s infinite ease-in-out;
    animation: layui-m-anim-loading 1.4s infinite ease-in-out;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
  }
}

.layui-m-layerbtn {
  position: relative;
  text-align: center;
  border-radius: 0 0 0.05rem 0.05rem;
  span {
    position: relative;
    text-align: center;
    border-radius: 0 0 0.05rem 0.05rem;
  }
}

.layui-m-layer2 .layui-m-layercont {
  p {
    margin-top: 0.2rem;
  }
  i {
    &:first-child {
      margin-left: 0;
      -webkit-animation-delay: -.32s;
      animation-delay: -.32s;
    }
    &.layui-m-layerload {
      -webkit-animation-delay: -.16s;
      animation-delay: -.16s;
    }
  }
  > div {
    line-height: 0.22rem;
    padding-top: 0.07rem;
    margin-bottom: 0.2rem;
    font-size: 0.24rem;
  }
}

@-webkit-keyframes layui-m-anim-loading {
  0%, 100%, 80% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}


@keyframes layui-m-anim-loading {
  0%, 100%, 80% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}


.layui-m-layerbtn {
  display: box;
  display: -moz-box;
  display: -webkit-box;
  width: 100%;
  height: 0.5rem;
  line-height: 0.5rem;
  font-size: 0;
  border-top: 0.01rem solid #D0D0D0;
  background-color: #F2F2F2;
  span {
    display: block;
    -moz-box-flex: 1;
    box-flex: 1;
    -webkit-box-flex: 1;
    font-size: 0.24rem;
    cursor: pointer;
    &[yes] {
      color: #40AFFE;
    }
    &[no] {
      border-right: 0.01rem solid #D0D0D0;
      border-radius: 0 0 0 0.05rem;
    }
    &:active {
      background-color: #F6F6F6;
    }
  }
}

.layui-m-layerend {
  position: absolute;
  right: 0.07rem;
  top: 0.1rem;
  width: 0.3rem;
  height: 0.3rem;
  border: 0;
  font-weight: 400;
  background: 0 0;
  cursor: pointer;
  -webkit-appearance: none;
  font-size: 0.3rem;
  &::after, &::before {
    position: absolute;
    left: 0.05rem;
    top: 0.15rem;
    content: '';
    width: 0.18rem;
    height: 0.01rem;
    background-color: #999;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-radius: 0.03rem;
  }
  &::after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
}

body .layui-m-layer .layui-m-layer-footer {
  position: fixed;
  width: 95%;
  max-width: 100%;
  margin: 0 auto;
  left: 0;
  right: 0;
  bottom: 0.1rem;
  background: 0 0;
}

.layui-m-layer-footer {
  .layui-m-layercont {
    padding: 0.2rem;
    border-radius: 0.05rem 0.05rem 0 0;
    background-color: rgba(255, 255, 255, 0.8);
  }
  .layui-m-layerbtn {
    display: block;
    height: auto;
    background: 0 0;
    border-top: none;
    span {
      background-color: rgba(255, 255, 255, 0.8);
      &[no] {
        color: #FD482C;
        border-top: 0.01rem solid #c2c2c2;
        border-radius: 0 0 0.05rem 0.05rem;
      }
      &[yes] {
        margin-top: 0.1rem;
        border-radius: 0.05rem;
      }
    }
  }
}

body .layui-m-layer .layui-m-layer-msg {
  width: auto;
  max-width: 90%;
  margin: 0 auto;
  bottom: -1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
}

.layui-m-layer-msg .layui-m-layercont {
  padding: 0.1rem 0.2rem;
}